def get_account(num):
    #生成登录账号
    accounts=[]
    for i in range(1,num+1):
        accounts.append({
            "username":"test%s"%i,
            "password":123456
        })
    return accounts


def hook_up():
    print("________________前置_________________________")

def hook_teardown():
    print("________________后置_________________________")

if __name__ == '__main__':
    print(get_account(2))